package com.hiyee.files.service;

import org.springframework.web.multipart.MultipartFile;

/**
 * 文件上传 Service
 *
 * @author WangBin
 */
public interface UploadService {
    /**
     * oss 上传文件
     *
     * @param file
     * @param userId
     * @param fileExtName
     * @return
     */
    public String ossUpload(MultipartFile file, String userId, String fileExtName) throws Exception;
}
